﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HouseDetail.aspx.cs" Inherits="HouseDetail" %>

<%@ Register Src="~/App_Widget/Navbar.ascx" TagName="navbar" TagPrefix="UITag" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="App_Themes/simple.css" rel="stylesheet"/>
</head>
<body>
    <UITag:navbar runat="server" ID="navbar" />

    <div class="container">
        <div class="page-header">
            <h1><%#HInfo.Address %> <small>房屋信息查看</small></h1>
        </div>
        <div id="house-info">
            <table class="table">
                <tr>
                    <td>地址</td>
                    <td><%#HInfo.Address %></td>
                </tr>
                <tr>
                    <td>出租时间</td>
                    <td><%#HInfo.Duration %></td>
                </tr>
                <tr>
                    <td>截止日期</td>
                    <td><%#HInfo.ExpirationDate %></td>
                </tr>
                <tr>
                    <td>最晚入住时间</td>
                    <td><%#HInfo.IntakeTime %></td>
                </tr>
                <tr>
                    <td>价格</td>
                    <td><%#HInfo.Price %></td>
                </tr>
                <tr>
                    <td>规格</td>
                    <td><%#HInfo.Standard %></td>
                </tr>
                <tr>
                    <td>缩略图</td>
                    <td>
                        <asp:image runat="server" CssClass="img-thumbnail img-md"  ImageUrl="<%#HInfo.ThumbnailUri %>" />
                    </td>
                </tr>
            </table>
            <form runat="server">
                <asp:Button ID="Order" runat="server" CssClass="btn btn-md btn-info " Text="预约" OnClick="OrderBtnClick"/>
            </form>

        </div>
    </div>
</body>
</html>
